package com.itheima.service;

import com.itheima.entity.ProjectFundingApplication;
import com.itheima.result.PageResult;

import java.util.List;
import java.util.Map;

/**
 * 项目资金申请Service接口
 * 
 * @author guanhuaer
 * @date 2025-03-20
 */
public interface IProjectFundingApplicationService {

    /**
     * 查询项目资金申请
     * 
     * @param id 项目资金申请主键
     * @return 项目资金申请
     */
    ProjectFundingApplication selectProjectFundingApplicationById(Long id);

    /**
     * 查询项目资金申请列表
     * 
     * @param projectFundingApplication 项目资金申请
     * @return 项目资金申请集合
     */
    PageResult selectProjectFundingApplicationList(ProjectFundingApplication projectFundingApplication);

    /**
     * 新增项目资金申请
     * 
     * @param projectFundingApplication 项目资金申请
     * @return 结果
     */
    int insertProjectFundingApplication(ProjectFundingApplication projectFundingApplication);

    /**
     * 修改项目资金申请
     * 
     * @param projectFundingApplication 项目资金申请
     * @return 结果
     */
    int updateProjectFundingApplication(ProjectFundingApplication projectFundingApplication);

    /**
     * 批量删除项目资金申请
     * 
     * @param ids 需要删除的项目资金申请主键集合
     * @return 结果
     */
    int deleteProjectFundingApplicationByIds(Long[] ids);

    /**
     * 删除项目资金申请信息
     * 
     * @param id 项目资金申请主键
     * @return 结果
     */
    int deleteProjectFundingApplicationById(Long id);

    ProjectFundingApplication selectProjectFundingApplicationByProjectId(Long id);
}
